import ReactDOM from 'react-dom'

const color = 'red'
const bgColor = 'pink'
const element = <div>
  <h1 style={{ background: bgColor, color }}>扣你鸡娃</h1>
</div>

ReactDOM.render(element, document.getElementById('root'))